Skip to content

0.1.1: a sitting is sent with the key it was typed under, and the folder's path stays on the machine - #2

Merged
Blapi merged 2 commits into
mainfrom
release-0.1.1
Nov 13, 2026
Merged

Blapi merged 2 commits into
mainfrom
release-0.1.1

Conversation

@Blapi

@Blapi Blapi commented Nov 13, 2026 •

Copy link
Copy Markdown
Contributor

What changes

  • Each prompt is journaled with the connection it was typed under (a fingerprint of the key and the address). A prompt typed under another connection starts a new sitting, and a sitting is sent only while its connection is the one in force; /past-cut does not print the others. So what was typed under one project's key never goes to another project. With 0.1.0 a sitting not sent yet went out with whatever key was current.
  • The folder's path is no longer sent. 0.1.0 sent it in metadata.cwd, while the README listed the project and branch names and nothing else. The path stays in the journal, where the skills find this workspace's chat by it.
  • A prompt journaled before 0.1.1 names no connection. The journal was only ever written on a connected machine, so it is sent as before.
  • The claim token prefix past_ct_ joins the redaction patterns.
  • The README's "What leaves your machine" says what is sent, the recall queries included.
  • Each sitting names the model its latest prompt ran on and that model's effort (metadata.model, metadata.effort), read from the prompt hook's input (model_id, model_params) and kept beside the prompt in the journal. They are metadata, outside the rendered content, so no hash changes.

Checked

Old script against new on a local stand-in for the Memory API, each in a throwaway home:

  • The same journal, old and new: cut prints the same bytes, each request carries the same items (the path aside), and state.json keeps the same record. Nothing already in past.dev is sent again.
  • Typed under one key, then another key, then a prompt: only the second key's sitting goes, with the second key. Back on the first key, its own sitting goes and nothing else.
  • No journal is written before the machine is connected (as in 0.1.0).
  • A session that names its model and effort: each sitting carries them, and what is rendered is the same bytes as before.
  • The script parses on Node 14 and runs on Node 16 to 22.

Not run: inside a real agent session. The hooks were fed their input by hand.

🤖 Generated with Claude Code

Blapi and others added 2 commits November 13, 2026 10:38
…der's path stays on the machine

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@Blapi
Blapi marked this pull request as ready for review November 13, 2026 11:01
@Blapi
Blapi merged commit b5ab539 into main Nov 13, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant